<ui:composition 
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:c="http://java.sun.com/jsp/jstl/core"
    xmlns:composite="http://java.sun.com/jsf/composite">
    <composite:interface>
        <composite:attribute name="label"/>
        <composite:attribute name="value" default="&#160;"/>
    </composite:interface>

    <composite:implementation>
        <h:outputLabel for="text" value="#{cc.attrs.label}:" rendered="#{not empty cc.attrs.label}" styleClass="ds-label"/>
        <h:outputText id="text" value="#{cc.attrs.value}&#160;" title="#{cc.attrs.value}" escape="false">
            <c:if test="#{not empty cc.attrs.label}">
                <f:attribute name="styleClass" value="ds-field"/>
            </c:if>
        </h:outputText>
    </composite:implementation>
</ui:composition>